#define _CRT_SECURE_NO_WARNINGS
#include"slist.h"

int main()
{
	SListNode* plist = NULL;
	SListPushBack(&plist,1);
	SListPushBack(&plist, 1);
	SListPushBack(&plist, 1);
	SListPushBack(&plist, 1);
	SListPushBack(&plist, 1);
	SListPushFront(&plist, 2);
	SListPushFront(&plist, 2);
	SListPushFront(&plist, 3);
	SListPopBack(&plist);
	SListPopFront(&plist);
	SListNode*pos=SListFind(plist, 2);
	SListInsertAfter(pos, 5);

	SListPrint(plist);

	return 0;
}